import request from './request'

export function getBannerAPI(params = {}) {
    const {distributionSite = '1'} = params
   return request({
        url: '/home/banner',
        params: {
            distributionSite
        }
    })
}


// 新鲜好物

export function findNewAPI() {
    return request({
        url: '/home/new'
    })
}

export function getHotAPI() {
    return request({
        url: './home/hot'
    })
}


export function getGoodsAPI() {
    return request({
        url: './home/goods'
    })
}